package com.psg.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "o_order")
public class Order implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;             //订单号
    private Integer order_id;       //用户id
    private String pname;           //商品名
    private Double price;            //合计
    private String ostatus;          //支付状态
    private Integer num;            //商品数量

}
